<?php
class Ourworks_model extends CI_Model {

	public function __construct()
	{
		$this->load->database();
	}
	
	public function get_our_works()
	{	
		$this->db->select('id, item_name, description, image_url, url');
		$query = $this->db->get('ourwork');
		return $query;
	}
}